package com.sw.bbs.board.service;

import com.github.pagehelper.PageInfo;
import com.sw.bbs.board.vo.request.OperaCommonRequest;
import com.sw.bbs.board.vo.request.QueryCommonRequest;
import com.sw.bbs.board.vo.request.board.OperaBoardRequest;
import com.sw.bbs.board.vo.request.comment.OperaCommentRequest;
import com.sw.bbs.board.vo.request.post.OperaPostRequest;
import com.sw.bbs.common.common.ServiceException;

import javax.servlet.http.HttpServletRequest;

public interface ProfileService {


    /**
     * 用户创建的板块列表
     *
     * @param httpServletRequest
     * @return
     */
    PageInfo boardList(QueryCommonRequest queryCommonRequest, HttpServletRequest httpServletRequest) throws Exception;

    /**
     * 用户收藏的板块列表
     *
     * @param httpServletRequest
     * @return
     */
    PageInfo boardCollectList(QueryCommonRequest queryCommonRequest, HttpServletRequest httpServletRequest);

    /**
     * 用户创建的帖子列表
     *
     * @param httpServletRequest
     * @return
     */
    PageInfo<?> postList(QueryCommonRequest queryCommonRequest, HttpServletRequest httpServletRequest);

    /**
     * 用户收藏的帖子列表
     *
     * @param httpServletRequest
     * @return
     */
    PageInfo postCollectList(QueryCommonRequest queryCommonRequest, HttpServletRequest httpServletRequest);
    /**
     * 用户关注的帖子列表
     *
     * @param httpServletRequest
     * @return
     */
    PageInfo postFollowList(QueryCommonRequest queryCommonRequest, HttpServletRequest httpServletRequest);

    /**
     * 用户创建的评论列表
     *
     * @param httpServletRequest
     * @return
     */
    PageInfo commentList(QueryCommonRequest queryCommonRequest, HttpServletRequest httpServletRequest);



}